import home from '@/views/home/home'
import login from '@/views/login/login'
import users from '@/views/users/users'
import rights from '@/views/rights/rights'
import goods from '@/views/goods/goods'
import orders from '@/views/orders/orders'
import roles from '@/views/roles/roles'
import leayui from '@/views/leayui/leayui'


export default [
    {
      path: '/home',
      name: 'home',
      component: home,
      children:[
        {
          path: '/users',
          name: 'users',
          component: users,
        },
        {
          path: '/rights',
          name: 'rights',
          component: rights,
        },
        {
          path: '/goods',
          name: 'goods',
          component: goods,
        },{
          path: '/orders',
          name: 'orders',
          component: orders,
        },{
          path: '/roles',
          name: 'roles',
          component: roles,
        },
        
      ]
    },{
      path: '/login',
      name: 'login',
      component: login
    },{
      path: '/leayui',
      name: 'leayui',
      component: leayui
    },
    
  ]